
/*!
 * $Id: GXUtils.h 23 2007-11-01 07:42:28Z ChenZaichun $
 *
 * \brief	utilities for GearX
 */

#ifndef _GX_UTILS_H
#define _GX_UTILS_H

#define SAFEDELETE(x) if (x) { delete (x); x = NULL; }
#define SAFEDELETE_ARRAY(x) if (x) { delete [] x; x = NULL; }

#endif